<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
    	<meta name="format-detection" content="telephone=no">
		<title>五星好评</title>
		<link rel="stylesheet" href="../css/app-h5-common.css" />
		<script type="text/javascript" src="../js/zepto.min.js" ></script>
		<script type="text/javascript" src="../js/iscroll.min.js" ></script>
	</head>
	<style>
		html{
			font-size: 100px;
			height: auto;
			background: #FFFFFF;
		}
		body{
			
			width: 100%;
			height: auto;
		}
		.header{
			width: 100%;
			margin-bottom: 0.2rem;
			position: relative;
			overflow: hidden;
		}
		.header .icon{
			display: block;
			position: absolute;
		    width: 1rem;
		    height: 1rem;
		    margin: auto;
		    left: 0;
		    right: 0;
		    bottom: 0.08rem;
    		border-radius: 0.23rem;
		}
		.header .triangle{
			    position: absolute;
			    display: block;
			    bottom: 0;
			    margin: auto;
			
		}
		.header .blur {	
			display: block;
			width: 100%;
		    filter: url(blur.svg#blur); /* FireFox, Chrome, Opera */
		    
		    -webkit-filter: blur(10px); /* Chrome, Opera */
		       -moz-filter: blur(10px);
		        -ms-filter: blur(10px);    
		            filter: blur(10px);
		    
		    filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=10, MakeShadow=false); /* IE6~IE9 */
		}
		.header .shadow{
		    position: absolute;
		    bottom: 0;
		    width: 1.28rem;
		    margin: 0 auto;
		    left: 0;
		    right: 0; 
		    display: block;
		}
		.content{
			width: 100%;
			padding: 0 0.15rem 0.3rem;
			box-sizing: border-box;
			color: #212a2f;
			font-size: 0.16rem;
			position: relative;
			margin-bottom: 0.6rem;
			padding-top: 0.2rem;
			
		}
		.zan{
			position: absolute;
			right: 0.15rem;
			color: #F45440;
			
		}
		.zan .zanImg{
			display: inline-block;
			width: 0.16rem;
			height: 0.15rem;
			margin-right: 0.05rem;
			float:left;
		}
		.title{
			font-size: 0.24rem;
			font-weight: bold;
			line-height: 0.31rem;
			width: 2.4rem;
			overflow: auto;
			margin-bottom: 0.2rem;

		}
		.abstract{
			font-size: 0.14rem;
			line-height: 0.2rem;
			margin-bottom:0.2rem
		}
		.source{
			font-size: 0.1rem;
			color: #aaaaaa;
			margin-bottom: 0.3rem;
		}
		.line{
			width: 100%;
			height: 1px;
			background-color:#DDDDDD;
			display: block;
			margin-bottom: 0.3rem;
		}
		.taskTit,.taskDetail{
			font-size: 0.15rem;
			color: #212A2F;
			line-height: 0.24rem;
		}
		.taskDetail .red{
			color: #F45440;
		}
		.bottom{
			width: 100%;
			height: 0.6rem;
			background-color: #252829;
			opacity: 0.9;
			overflow: auto;
			position: fixed;
			bottom: 0;
			z-index: 9;
				
		}
		.focuse{
			width: 86%;
			height: 0.4rem;
			background-color: #ffb820;
			color: #FFFFFF;
			font-size: 0.16rem;
			text-align: center;
			line-height: 0.4rem;
			margin: 0.1rem auto;
			border-radius: 0.06rem;
			
		}
		.mask{
			display: none;
			position: absolute;
			left: 0;top: 0;
			width: 100%;
			height: 100%;
			background-color: #000000;
			opacity: 0.4;
		}
		

		#wrapper{
			position: absolute;
			z-index: 1;
			top: 0;
			bottom: 0;
			left: 0;
			width: 100%;
			overflow: hidden;
		}
		
		.scroller {
			position: absolute;
			z-index: 1;
			-webkit-tap-highlight-color: rgba(0,0,0,0);
			width: 100%;
			-webkit-transform: translateZ(0);
			-moz-transform: translateZ(0);
			-ms-transform: translateZ(0);
			-o-transform: translateZ(0);
			transform: translateZ(0);
			-webkit-touch-callout: none;
			-webkit-user-select: none;
			-moz-user-select: none;
			-ms-user-select: none;
			user-select: none;
			-webkit-text-size-adjust: none;
			-moz-text-size-adjust: none;
			-ms-text-size-adjust: none;
			-o-text-size-adjust: none;
			text-size-adjust: none;
		}
	</style>
	<body onload="loaded()">
		<div id="wrapper">
			<div class="scroller">
				<div class="header">
					<img src="../img/icon.jpg" class="blur"/>
					<img src="../img/triangle.png" class="triangle" />
					<img src="../img/icon.jpg" class="icon" />
					<img src="../img/bg1.png" class="shadow">
				</div>	
				<div class="content">
					<div class="zan"><img class="zanImg" src="../img/gift.png"/> <span class="likes">0.5元</span></div>
					<div class="title">
						WALKUP
					</div>
					<p class="abstract">想拍砖吗？想吐槽吗？来吧，用你的观点改变这个世界，完成下面的问卷吧你，完成即能获得奖励~</p>
					<span class="line"></span>
					<p class="taskTit">任务详情：</p>
					<ul class="taskDetail">
						<li>1、在应用宝中输入<span class="red">WALKUP</span>点击下载此APP；</li>
						<li>2、下载完成后返回应用宝中，给予五星好评附加15个字以上的文字评论；</li>
						<li>3、将评论成功的截图通过下面的按键反馈给我们，我们会相应的做出奖励。</li>
						
						
					</ul>
				
					
				</div>
				
				<div class="mask"></div>
				
			
			
			
		</div>
		</div>
		<div class="bottom">
					<div class="focuse">
						关注公众号
					</div>
				</div>
	</body>
	<script>
		var myScroll,answer;
		
		
		function loaded () {
			myScroll = new IScroll('#wrapper');
			
		};
		
		document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false);
		function setWidth(){
   			var $imgWidth = $('.header .blur').width();
	    	$('.header .blur').css({'height':$imgWidth/1.5});
	    	console.log($imgWidth+"/"+($imgWidth/1.5))
   		};
   		
   		
   		
		function clickButton(){
			$(".continueDo").on("touchend",function(){
				var maxScrollY=myScroll.maxScrollY;
				myScroll.scrollTo(0,maxScrollY,0);
				$(".mask").hide();
				$(".answerWrap").hide()
			});
			$(".nonknow").on("touchend",function(){
				$(".mask").hide();
				$(".notComplete").hide()
			})
		}
   		
   		setWidth();
   		
   		clickButton();
	</script>
</html>
